package com.nf.health.app.models;

import java.util.List;

/**
 * 检测项目
 * @author jiax
 *
 */
public class DetectionProject {

	/**
	 * 未选中，默认状态
	 */
	public static final int STATUS_NONE = 1;
	/**
	 * 已选中
	 */
	public static final int STATUS_GOING = 2;
	/**
	 * 已做过
	 */
	public static final int STATUS_OK = 3;
	
	private int id;
	private int level;
	private int mStatus = 1;
	private String posttime;
	private String name;
	private String img;
	private String parentid;
	private List<DetectionContent> list;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	/**
	 * 1表示还未做，2表示正在做，3表示已做完
	 * @return
	 */
	public int getmStatus() {
		return mStatus;
	}
	public void setmStatus(int mStatus) {
		this.mStatus = mStatus;
	}
	public String getPosttime() {
		return posttime;
	}
	public void setPosttime(String posttime) {
		this.posttime = posttime;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getParentid() {
		return parentid;
	}
	public void setParentid(String parentid) {
		this.parentid = parentid;
	}
	public List<DetectionContent> getList() {
		return list;
	}
	public void setList(List<DetectionContent> list) {
		this.list = list;
	}
	
	
	/**
	  {
            "id":1,
            "level":1,
            "posttime":"2015-10-19 10:00:58",
            "name":"头部",
            "img":"http://test.mbank.nf1000.com/img/header.png",
            "parentid":0,
            "list":[
					"id":2,
                    "categoryid":14,
                    "detail":[
                        {
                            "0":"头晕"
                        },
                        {
                            "1":"头晕目眩"
                        },
                        {
                            "2":"头晕眼花"
                        }
                    ],
                    "choose":"n"
            ]
        },
	 */
}
